﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace DrawArray
{
    public class ArrayPrinter
    {
        public static void PrintArray(int height, int width, int[] array, int zoom, int magnifier)
        {
            ArrayDrawer ad = new ArrayDrawer(height, width, array, zoom, magnifier);
            DrawingForm df = new DrawingForm();
            df.DrawBitmap(ad);
            df.ShowDialog();
        }
    }
}
